package ascript
{
   public class mySingleton
   {
      [Bindable] public var VISTA:int; //El index de la vista activa.
      
      private  static var instancia:mySingleton;
      
      public static function getInstance():mySingleton
      {
         if( instancia==null ) instancia = new mySingleton();
         return instancia;
      }
   }
}